package cn.moningxi.mapper;

import cn.moningxi.bean.GoodsBusiness;

import java.util.List;

public interface GoodsBusinessMapper {

    /**
     * 根据id查询品牌信息
     *
     * @param bid
     * @return
     */
    GoodsBusiness queryById(Integer bid);

    List<GoodsBusiness> queryAllBusiness();

    GoodsBusiness selectByBusinessID(String BID);

    void updateBusniessInfo(GoodsBusiness goodsBusiness);

    GoodsBusiness queryBySn(String businessSn);

    void addBusniess(GoodsBusiness goodsBusiness);
}